export default [
  {
    path: '/',
    component: '@/pages/index',
    routes: [
      { path: '/list', component: '@/pages/list' },
      { path: '/detail/:id?', component: '@/pages/detail' },
      { path: '/edit/:id?', component: '@/pages/edit' },
    ],
  },
];
